//
//  BankNOViewController.m
//  JiJinFinance
//
//  Created by 李东晓 on 15/12/10.
//  Copyright © 2015年 LiDongXiao. All rights reserved.
//

#import "BankNOViewController.h"
#import "BankYESViewController.h"
#import "BankNoView.h"
@interface BankNOViewController ()<MyDelegate>

@end

@implementation BankNOViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"我的银行卡";
    
    NSArray * arr = [[NSBundle mainBundle]loadNibNamed:@"BankNoView" owner:self options:nil];
    BankNoView * bankView = arr.lastObject;
    
    [bankView.ButSubmit.layer setMasksToBounds:YES];
    
    [bankView.ButSubmit.layer setCornerRadius:3];
    
    bankView.delegate = self;
    
    [bankView setFrame:CGRectMake(0, 0, kUIScreenWidth, bankView.frame.size.height)];

    
    UIScrollView * scr = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 0, kUIScreenWidth, bankView.frame.size.height)];
    
    [scr setContentSize:CGSizeMake(0, 667-150)];
    
    self.view = scr;
    
    [scr addSubview:bankView];

}
-(void)SubmitClick
{
    NSLog(@"提交");
    
    BankYESViewController * bankY = [[BankYESViewController alloc]init];
    
    [self.navigationController pushViewController:bankY animated:YES];
}




- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
